package com.xd.core.api.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 渠道二代付信息表
 * </p>
 *
 * @author ZX
 * @since 2025-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ChannelPayTow对象", description="渠道二代付信息表")
public class ChannelPayTow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商户订单号")
    private String orderNo;

    @ApiModelProperty(value = "代付类型（1-放款，2-提现）")
    private String payType;

    @ApiModelProperty(value = "交易金额(单位分)")
    private Long amount;

    @ApiModelProperty(value = "账户类型（1-放款账户，2-回款账户）")
    private String accountType;

    @ApiModelProperty(value = "支付状态（1-申请中，2-成功，3-失败,4-退款）")
    private String payStatus;

    @ApiModelProperty(value = "进件ID")
    private Integer incomingId;

    @ApiModelProperty(value = "放款ID")
    private Integer outId;

    @ApiModelProperty(value = "企业ID")
    private Integer companyId;

    @ApiModelProperty(value = "创建订单时间")
    private Date createTime;

    @ApiModelProperty(value = "交易时间")
    private Date tradeTime;

    @ApiModelProperty(value = "交易失败原因")
    private String failReason;

    @ApiModelProperty(value = "收款人")
    private String toAccName;

    @ApiModelProperty(value = "收款人银行账号")
    private String toAccNo;

    @ApiModelProperty(value = "收款人银行名称")
    private String toBankName;

    @ApiModelProperty(value = "银行卡身份证号码")
    private String transCardId;

    @ApiModelProperty(value = "凭证")
    private String voucher;

    @ApiModelProperty(value = "凭证上传时间")
    private Date uploadDate;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("收款银行联行号")
    private String transCnapBaofu;


}
